/**
 * Created by James.Owen on 13/01/14.
 */

$(document).ready(function() {

    $( "#menuTextContainer" ).click(function() {
        var identity = $('.menu').attr('data-identity');
//        $( ".leftTabs" ).each(function() {
            if (!($('.menu').hasClass(identity))){
                $(this).removeClass('dropDown');
            }
        $('.menu.'+identity).toggleClass('dropDown');
    });
});